package com.ruoyi.mall.enums;

public enum OrderStatusEnum {
    PENDING_PAYMENT("1","待付款"),
    PAID("2","已付款"),
    REFUND("3","退款中"),
    FINISHED("4","已完成"),
    CANCELED("5","已取消"),
    REFUNDED("6","已退款");

    final String code;
    final String desc;

    OrderStatusEnum(String code,String desc){
        this.code=code;
        this.desc=desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
